package com.hyperfix.washer.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hyperfix.models.washer.dtos.RiskRecordDTO;
import com.hyperfix.models.washer.pojos.RiskRecord;
import com.hyperfix.models.washer.vos.RiskRecordQueryVO;

/**
 * @author JiangChunYu
 * 2024/4/25
 */
public interface RiskRecordService extends IService<RiskRecord> {
    void asyncSave(RiskRecord riskRecord);

    IPage<RiskRecordDTO> list(Integer pageNum, Integer size, RiskRecordQueryVO riskRecordQueryVO);

    Integer statisticDay();

    Integer statisticWeek();

    Integer statisticDay(Integer teamId);

    Integer statisticWeek(Integer teamId);
}
